GXSetPrinterProfile
You can call theGXSetPrinterProfile
function to change the current color profile for a printer.
OSErr GXSetPrinterProfile (gxPrinter thePrinter, gxColorProfile oldProfile, gxColorProfile newProfile);
thePrinter
A reference to the printer object.oldProfile
A reference to the profile that has been associated with the printer object.newProfile
A reference to the profile to add to the list of profiles for a printer object.- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
You can callGXSetPrinterProfile
to change the current profile for a printer, to replace an existing profile that is associated with the printer object, or to remove a profile from the list of color profiles that are associated with the printer object.A printer driver or printing extension defines the values of the
oldProfile
andnewProfile
parameters that determine what happens in response to this message. Table 4-6 shows an example.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. SEE ALSO
ThegxSetPrinterProfile
message is described in Inside Macintosh: QuickDraw GX Printing Extensions and Drivers.Color matching, color profiles, and color profile resources are described in Inside Macintosh: Advanced Color Imaging.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help